import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import app from './modules/app'
import settings from './modules/settings'
// 引入用户管理模块
import user from './modules/user'
// 引入商场管理模块
import shopping from './modules/shopping'
import permission from './modules/permission'
import tagsView from './modules/tagsView';

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    settings,
    permission,
    tagsView,
    user,
    shopping
  },
  getters
})

export default store
